﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/AdminPanel/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<WebMVC.Areas.AdminPanel.Models.DictionaryViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Dictionary
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Dictionary</h2>

    <div id="tabs">
	<ul>
		<li><a href="#tabs-1">Styles (<%=Model.Styles.Count%>)</a></li>
		<li><a href="#tabs-2">Industries (<%=Model.Industries.Count%>)</a></li>
		<li><a href="#tabs-3">Color Themes (<%=Model.ColorThemes.Count%>)</a></li>
        <li><a href="#tabs-4">Tags (<%=Model.Tags.Count%>)</a></li>
        <li><a href="#tabs-5">Design groups (<%=Model.DesignGroups.Count%>)</a></li>
        <li><a href="#tabs-6">Print Media Types (<%=Model.MediaTypes.Count%>)</a></li>
        <li><a href="#tabs-7">Fonts (<%=Model.Fonts.Count%>)</a></li>
	</ul>
	    <div id="tabs-1">
		    <%Html.RenderPartial("StyleListUserControl", Model.Styles); %>
	    </div>
	    <div id="tabs-2">
		    <%Html.RenderPartial("IndustryListUserControl", Model.Industries); %>
	    </div>
	    <div id="tabs-3">
		    <%Html.RenderPartial("ColorThemeListUserControl", Model.ColorThemes); %>
	    </div>
        <div id="tabs-4">
		    <%Html.RenderPartial("TagListUserControl", Model.Tags); %>
	    </div>
        <div id="tabs-5">
		    <%Html.RenderPartial("DesignGroupListUserControl", Model.DesignGroups); %>
	    </div>
        <div id="tabs-6">
		    <%Html.RenderPartial("PrintMediaTypeListUserControl", Model.MediaTypes); %>
	    </div>
        <div id="tabs-7">
		    <%Html.RenderPartial("FontListUserControl", Model.Fonts); %>
	    </div>

    </div>


    
</asp:Content>
